package com.chengxiaoxiao.domain;

import java.io.Serializable;
import java.util.Date;

public class Order implements Serializable {

    private int id;
    private int userId;
    private int bookId;
    private Date subTime;

    public Order(int id, int userId, int bookId, Date subTime) {
        this.id = id;
        this.userId = userId;
        this.bookId = bookId;
        this.subTime = subTime;
    }


    public Order() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public Date getSubTime() {
        return subTime;
    }

    public void setSubTime(Date subTime) {
        this.subTime = subTime;
    }
}
